#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: splice02_sole_type.py 
@version:
@time: 2022/02/16 
"""
from TapClientCaseData.ColumnGenerateData.dynamic.splice03_mongodb.splice01_category_type import *

__all__ = [
    'SOLE_MONGODB_DOUBLE', 'SOLE_MONGODB_INT32', 'SOLE_MONGODB_INT64', 'SOLE_MONGODB_DECIMAL128', 'SOLE_MONGODB_MINKEY',
    'SOLE_MONGODB_MAXKEY',

    'SOLE_MONGODB_STRING', 'SOLE_MONGODB_UNDEFINED', 'SOLE_MONGODB_NULL',

    'SOLE_MONGODB_TIMESTAMP', 'SOLE_MONGODB_DATE',

    'SOLE_MONGODB_OBJECT', 'SOLE_MONGODB_ARRAY', 'SOLE_MONGODB_BINARY_DATA', 'SOLE_MONGODB_OBJECTID',
    'SOLE_MONGODB_BOOLEAN', 'SOLE_MONGODB_REGEX', 'SOLE_MONGODB_JAVASCRIPT'

]

print(f'MONGODB TYPE COUNT IS: {len(__all__)}')

# SOLE NUMBER
SOLE_MONGODB_DOUBLE = dic_add(PK, DOUBLE)
SOLE_MONGODB_INT32 = dic_add(PK, INT32)
SOLE_MONGODB_INT64 = dic_add(PK, INT64)
SOLE_MONGODB_DECIMAL128 = dic_add(PK, DECIMAL128)
SOLE_MONGODB_MINKEY = dic_add(PK, MINKEY)
SOLE_MONGODB_MAXKEY = dic_add(PK, MAXKEY)

# SOLE STRING
SOLE_MONGODB_STRING = dic_add(PK, STRING)
SOLE_MONGODB_UNDEFINED = dic_add(PK, UNDEFINED)
SOLE_MONGODB_NULL = dic_add(PK, NULL)

# SOLE DATE
SOLE_MONGODB_TIMESTAMP = dic_add(PK, TIMESTAMP)
SOLE_MONGODB_DATE = dic_add(PK, DATE)

# SOLE OTHER
SOLE_MONGODB_OBJECT = dic_add(PK, OBJECT)
SOLE_MONGODB_ARRAY = dic_add(PK, ARRAY)
SOLE_MONGODB_BINARY_DATA = dic_add(PK, BINARY_DATA)
SOLE_MONGODB_OBJECTID = dic_add(PK, OBJECTID)
SOLE_MONGODB_BOOLEAN = dic_add(PK, BOOLEAN)
SOLE_MONGODB_REGEX = dic_add(PK, REGEX)
SOLE_MONGODB_JAVASCRIPT = dic_add(PK, JAVASCRIPT)

# print(SOLE_MONGODB_OBJECT)
# print(SOLE_MONGODB_ARRAY)
# print(SOLE_MONGODB_BINARY_DATA)
# print(SOLE_MONGODB_OBJECTID)
# print(SOLE_MONGODB_BOOLEAN)
# print(SOLE_MONGODB_REGEX)
# print(SOLE_MONGODB_JAVASCRIPT)
